package com.zito.health.service.impl;

import com.zito.health.entity.LaboratoryPicture;
import com.zito.health.mapper.LaboratoryPictureMapper;
import com.zito.health.service.LaboratoryPictureService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description:
 * @author: Sam
 * @time: 2019/12/9 16:33
 */
@Service
public class LaboratoryPictureServiceImpl implements LaboratoryPictureService {

    @Autowired
    LaboratoryPictureMapper laboratoryPictureMapper;

    @Override
    public LaboratoryPicture save(LaboratoryPicture object) {
        laboratoryPictureMapper.insertSelective (object);
        return object;
    }

    @Override
    public void delete(Integer id) {
        laboratoryPictureMapper.deleteByPrimaryKey(id);
    }

    @Override
    public void update(LaboratoryPicture object) {

    }

    @Override
    public List<LaboratoryPicture> query() {
        return null;
    }

    @Override
    public List<LaboratoryPicture> query(LaboratoryPicture object) {
        return laboratoryPictureMapper.select(object);
    }

    @Override
    public LaboratoryPicture queryOne(LaboratoryPicture object) {
        return null;
    }

    @Override
    public LaboratoryPicture queryById(Integer id) {
        return null;
    }

    @Override
    public boolean exists(Integer id) {
        return false;
    }
}
